/**
 * 获取token，判断是否已经登录
 * @returns
 */
 export function isLogined() {
  return sessionStorage.getItem("token");
}

/**
 * 设置
 * @param {*} token
 * @returns
 */
export const setToken = (token) => sessionStorage.setItem("token", token);

/**
 * 获取
 * @returns
 */
export const getToken = () => sessionStorage.getItem("token");

/**
 * 删除
 * @returns
 */
export const removeToken = () => sessionStorage.removeItem("token");
